/media/Environ/Compile/rocksndiamonds-4.1.4.1
cd "/media/Environ/Compile/rocksndiamonds-4.1.4.1" && /usr/bin/gdb -- "./rocksndiamonds"
GNU gdb (Debian 8.2.1-2+b3) 8.2.1
Copyright (C) 2018 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from ./rocksndiamonds...done.
(gdb) r
Starting program: /media/Environ/Compile/rocksndiamonds-4.1.4.1/rocksndiamonds 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffe397c700 (LWP 30626)]
[New Thread 0x7fffe393b700 (LWP 30627)]
[New Thread 0x7fffe1a9e700 (LWP 30628)]
rocksndiamonds: frame delay == 0 ms (maximum speed)
double free or corruption (out)

Thread 1 "rocksndiamonds" received signal SIGABRT, Aborted.
__GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
50	../sysdeps/unix/sysv/linux/raise.c: No such file or directory.
(gdb) bt
#0  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
#1  0x00007ffff78a3535 in __GI_abort () at abort.c:79
#2  0x00007ffff78fa508 in __libc_message (action=action@entry=do_abort, fmt=fmt@entry=0x7ffff7a0528d "%s\n") at ../sysdeps/posix/libc_fatal.c:181
#3  0x00007ffff7900c1a in malloc_printerr (str=str@entry=0x7ffff7a06ff8 "double free or corruption (out)") at malloc.c:5341
#4  0x00007ffff7902730 in _int_free (av=0x7ffff7a3cc40 <main_arena>, p=0x55555b8b7790, have_lock=<optimized out>) at malloc.c:4306
#5  0x0000555555713b28 in checked_free (ptr=0x55555b8b77a0) at misc.c:1275
#6  0x0000555555712b25 in setString (old_value=0x55555860c330 <tape+16>, new_value=0x55555c779d10 "rnd_jonathan_alligood") at misc.c:844
#7  0x00005555556eca43 in TapeErase () at tape.c:530
#8  0x00005555556ecbff in TapeStartRecording (random_seed=1582077468) at tape.c:584
#9  0x00005555556a7c7b in StartGameActions (init_network_game=0, record_tape=1, random_seed=0) at game.c:11322
#10 0x00005555556648c0 in HandleMainMenu (mx=0, my=0, dx=0, dy=0, button=0) at screens.c:2134
#11 0x000055555564a6a5 in HandleKey (key=13, key_status=1) at events.c:2304
#12 0x0000555555648c63 in HandleKeyEvent (event=0x7fffffffd9c0) at events.c:1462
#13 0x0000555555646b84 in HandleEvents () at events.c:249
#14 0x0000555555646d67 in EventLoop () at events.c:348
#15 0x000055555563a1ca in main (argc=1, argv=0x7fffffffdb18) at main.c:7762
(gdb) # had pressed ESC and was going to restart the level again, but then it crashed, did I press enter to restart before it crashed or after?
(gdb) r
The program being debugged has been started already.
Start it from the beginning? (y or n) y
Starting program: /media/Environ/Compile/rocksndiamonds-4.1.4.1/rocksndiamonds 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffe397c700 (LWP 31865)]
[New Thread 0x7fffe393b700 (LWP 31866)]
[New Thread 0x7fffe1a9e700 (LWP 31869)]
free(): double free detected in tcache 2

Thread 1 "rocksndiamonds" received signal SIGABRT, Aborted.
__GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
50	../sysdeps/unix/sysv/linux/raise.c: No such file or directory.
(gdb) bt
#0  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
#1  0x00007ffff78a3535 in __GI_abort () at abort.c:79
#2  0x00007ffff78fa508 in __libc_message (action=action@entry=do_abort, fmt=fmt@entry=0x7ffff7a0528d "%s\n") at ../sysdeps/posix/libc_fatal.c:181
#3  0x00007ffff7900c1a in malloc_printerr (str=str@entry=0x7ffff7a06f58 "free(): double free detected in tcache 2") at malloc.c:5341
#4  0x00007ffff79026fd in _int_free (av=0x7ffff7a3cc40 <main_arena>, p=0x55555c12e670, have_lock=<optimized out>) at malloc.c:4193
#5  0x00007fffe1ff6c8d in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#6  0x00007fffe1ff9189 in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#7  0x00007fffe1fc939e in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#8  0x00007fffe1fcc8c1 in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#9  0x00007fffe1fccb45 in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#10 0x00007fffe1fc7cb1 in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#11 0x00007ffff7e322e9 in ?? () from /usr/lib/x86_64-linux-gnu/libSDL2-2.0.so.0
#12 0x00005555557187c9 in UpdateScreenExt (rect=0x7fffffffd410, with_frame_delay=1) at sdl.c:192
#13 0x00005555557188dd in UpdateScreen_WithFrameDelay (rect=0x7fffffffd410) at sdl.c:236
#14 0x0000555555719a75 in SDLCopyArea (src_bitmap=0x555559a32320, dst_bitmap=0x555559a31520, src_x=0, src_y=0, width=1920, height=40, dst_x=0, dst_y=0, mask_mode=0) at sdl.c:912
#15 0x00005555556f67d6 in sysCopyArea (src_bitmap=0x555559a32320, dst_bitmap=0x555559a31520, src_x=0, src_y=0, width=1920, height=40, dst_x=0, dst_y=0, mask_mode=0) at system.c:525
#16 0x00005555556f74ac in BlitBitmap (src_bitmap=0x555559a32320, dst_bitmap=0x555559a31520, src_x=0, src_y=0, width=1920, height=40, dst_x=0, dst_y=0) at system.c:868
#17 0x000055555564cd9e in BackToFront () at tools.c:886
#18 0x000055555565996f in MoveDoor (door_state=1) at tools.c:5460
#19 0x000055555565892e in OpenDoor (door_state=3) at tools.c:5081
#20 0x0000555555686299 in InitGame () at game.c:4227
#21 0x00005555556a7c92 in StartGameActions (init_network_game=0, record_tape=1, random_seed=0) at game.c:11332
#22 0x00005555556648c0 in HandleMainMenu (mx=0, my=0, dx=0, dy=0, button=0) at screens.c:2134
#23 0x000055555564a6a5 in HandleKey (key=13, key_status=1) at events.c:2304
#24 0x0000555555648c63 in HandleKeyEvent (event=0x7fffffffd9c0) at events.c:1462
#25 0x0000555555646b84 in HandleEvents () at events.c:249
#26 0x0000555555646d67 in EventLoop () at events.c:348
#27 0x000055555563a1ca in main (argc=1, argv=0x7fffffffdb18) at main.c:7762
(gdb) # had died, was going to restart back at last tape save
(gdb) r
The program being debugged has been started already.
Start it from the beginning? (y or n) y
Starting program: /media/Environ/Compile/rocksndiamonds-4.1.4.1/rocksndiamonds 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffe397c700 (LWP 32715)]
[New Thread 0x7fffe393b700 (LWP 32716)]
[New Thread 0x7fffe1a9e700 (LWP 32717)]
rocksndiamonds: frame delay == 0 ms (maximum speed)
rocksndiamonds: frame delay == 40 ms (max. 25 fps / 50 %)
rocksndiamonds: frame delay == 0 ms (maximum speed)
rocksndiamonds: frame delay == 0 ms (maximum speed)
rocksndiamonds: frame delay == 0 ms (maximum speed)
rocksndiamonds: frame delay == 0 ms (maximum speed)
rocksndiamonds: frame delay == 20 ms (max. 50 fps / 100 %)
rocksndiamonds: frame delay == 29 ms (max. 34 fps / 68 %)
rocksndiamonds: frame delay == 0 ms (maximum speed)
[Thread 0x7fffe393b700 (LWP 32716) exited]
[Thread 0x7fffe397c700 (LWP 32715) exited]
[Thread 0x7fffe1a9e700 (LWP 32717) exited]
[Inferior 1 (process 32714) exited normally]
(gdb) q
